<template>
    <div>
        <el-form :model="ruleForm" :rules="rules" label-width="100px">
            <el-form-item label="用户名" prop="name">
                <el-input type="text" v-model="ruleForm.name"/>
            </el-form-item>
            <el-form-item label="密码" prop="password">
                <el-input type="password" v-model="ruleForm.password"/>
            </el-form-item>
            <el-form-item>
                <el-button type="primary" @click="submitForm(ruleForm)">登录</el-button>
                <el-button @click="resetForm(ruleForm)">重置</el-button>
            </el-form-item>
    </div>
</template>

<script>
export default {
    
}
</script>

<style scoped>

</style>